<ion-view hide-nav-bar="true" title="学前班3班的动态">
    <div class="dynamic-menu-btn">
        <div class="div-menu-box">
            <a class="target-burger">
                <ul class="buns">
                    <li class="bun"></li>
                    <li class="bun"></li>
                </ul>
            </a>
        </div>
    </div>
    <div class="dynamic-screen">
        <nav class="main-nav" role="navigation">
            <ul>
                <li ng-click="createNewDynamic()" id="btn1">
                    <a href="javascript:;">
                        <div class="munuicon showbady"><i class="fa fa-camera"></i></div>
                        <p>晒宝贝</p>
                    </a>
                </li>
                <li ui-sref="dynamic.create" id="btn2">
                    <a href="javascript:;">
                        <div class="munuicon active"><i class="fa fa-street-view"></i></div>
                        <p>组织活动</p>
                    </a>
                </li>
                <li ui-sref="dynamic.create" id="btn3">
                    <a href="javascript:;">
                        <div class="munuicon askquestion"><i class="fa fa-edit"></i></div>
                        <p>提问</p>
                    </a>
                </li>
            </ul>
        </nav>
    </div>
    <ion-content style="background: rgba(156, 156, 156, 0.18);">
        <ion-scroll direction="y" delegate-handle="dynamicScroll" style="width: 100%;height: 100%;">
            <div class="dynamic">
                <div class="container">
                    <div class="list card" ng-repeat="item in vm.exhortaions track by $index" ui-sref="dynamic.info({dynamicId:item.id})">
                        <div class="item item-avatar">
                            <img ng-src="{{item.memberAvatarPath}}">
                            <h2>{{item.studentName}}&nbsp;{{item.memberParentGender}}</h2>
                            <p>发表于&nbsp;{{item.createDate | date:'yyyy-MM-dd HH:mm'}}</p>
                        </div>
                        <div class="item item-body">
                            <p class="dynamic-list-content">{{item.title}}</p>
                            <div class="dynamic-list-img">
                                <ul class="imglist" ng-if="item.thumbnails != null || item.thumbnails.length > 0">
                                    <photo-previre ng-repeat="per in item.thumbnails track by $index"></photo-previre>
                                </ul>
                                <ul class="imglist" ng-if="item.thumbnail != null">
                                    <li><img class="full-image" ng-src="{{item.thumbnail}}"></li>
                                </ul>
                            </div>
                            <p>
                                <a href="#" class="subdued">{{item.likes + 1}} 人觉得很赞</a>
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </ion-scroll>
    </ion-content>
</ion-view>

